<div class="container"> 
<!-- middle -->
<div id="middle" class="cols2">
    <div class="content" role="main">
		<!-- add comment -->
        <div class="add-comment" id="addcomments">
			<h3>My Profile</h3>  
				
			<div class="comment-form">
            <?=form_open_multipart('profile/updateProfile','id="commentForm"');?>
				<?=form_hidden('id',$profile['EmployeeID'])?>
                
				<div class="row field_text">
					<label class="label_title"><strong>Name</strong></label>
					<input type="text" name="name" value="<?=$profile['EmployeeFirstName']?>" style="width:500px" class="inputtext input_large required">
                </div>
				
				<div class="row field_text">
					<label class="label_title"><strong>Old Avatar</strong></label>
					<img src="<?=profilePicture($profile['employeeAvatar'])?>" Alt="Empty Picture">
                </div>
				
				<div class="row field_text">
					<label class="label_title"><strong>Change Avatar</strong></label>
					<?=form_upload('image','class="inputtext input_large required"')?>
                </div>
					
                <div class="row rowSubmit">
                    <input type="submit" value="Update My Profile" class="btn-submit">
                </div>
            </form>
			</div>
        </div>
		<!--/add comment -->
	</div>
    <!--/ content -->
    
    <!-- sidebar -->
    <div class="sidebar">

		<!-- widget_contact -->
	        <div class="widget-container widget_contact">   
	            <div class="inner">   
	            	
	                <div class="contact-address">
	                	<div class="name"><strong><?=$profile['EmployeeFirstName']?></strong></div>
						<div class="address"><?=$profile['EmployeeTitle']?></div>
						<div class="phone"><em>Mobile:</em> <span><?=$profile['EmployeeHandPhone']?></span></div>
	                    <div class="fax"><em>Ext:</em> <span><?=$profile['EmployeeExtention']?></span></div>
		                <div class="mail"><em>Email:</em> <a href="mailto:contact@newssetter.com"><?=$profile['EmployeeEmail']?></a></div>
					</div>
		                  
					<div class="contact-social">
		            	<div><a href="#" class="btn btn_skype">Skype</a></div>
		                <div><a href="#" class="btn btn_twitter">Twitter</a></div>
		                <div><a href="#" class="btn btn_fb">Facebook</a></div>
		           	<div class="clear"></div>
		            </div>
                    
                    <div class="contact-map">
						
						<img src="<?=profileThumb($profile['employeeAvatar'],$profile['EmployeeID'],300,150)?>" style="height:100%" alt="">
						<p><?=anchor('profile/My/'.$this->session->userdata('user_login'),'Update Profile')?></p>
		            </div>
                    
				</div>     
			</div>
	        <!--/ widget_contact -->
                    
    </div>
    <!--/ sidebar -->
    
    <div class="divider"></div>
    
    
        	
</div>
<!--/ middle --> 
</div>
<!--/ container --> 